import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

class VideoChat with ChangeNotifier, DiagnosticableTreeMixin {
  bool _showCalling;
  get showCalling => _showCalling;

  bool show(isShow) {
    _showCalling = isShow;
    notifyListeners();
    return _showCalling;
  }

  bool getStatus() {
    return showCalling;
  }

  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(FlagProperty('showCalling', value: _showCalling));
  }
}
